package com.woniu.zsd.recycle.feign;

import com.woniu.zsd.common.util.Result;
import com.woniu.zsd.recycle.form.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("recycle-service")
public interface RecycleFeignClient {
    @PostMapping("/recycle/wastePricing/updatePriceByStationId")
    public Result updatePriceByStationId(@RequestParam("stationId") Integer stationId) throws Exception;
}
